package com.bdzl.admin.service.sys.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

import com.bdzl.admin.dao.sys.MobileCodeDao;
import com.bdzl.pub.entity.sys.MobileCodeDO;
import com.bdzl.admin.service.sys.MobileCodeService;



@Service
public class MobileCodeServiceImpl implements MobileCodeService {
	@Autowired
	private MobileCodeDao mobileCodeDao;
	
	@Override
	public MobileCodeDO get(Integer mcId){
		return mobileCodeDao.get(mcId);
	}
	
	@Override
	public List<MobileCodeDO> list(Map<String, Object> map){
		return mobileCodeDao.list(map);
	}
	
	@Override
	public int count(Map<String, Object> map){
		return mobileCodeDao.count(map);
	}
	
	@Override
	public int save(MobileCodeDO mobileCode){
		return mobileCodeDao.save(mobileCode);
	}
	
	@Override
	public int update(MobileCodeDO mobileCode){
		return mobileCodeDao.update(mobileCode);
	}
	
	@Override
	public int remove(Integer mcId){
		return mobileCodeDao.remove(mcId);
	}
	
	@Override
	public int batchRemove(Integer[] mcIds){
		return mobileCodeDao.batchRemove(mcIds);
	}
	
}
